package edu.whut.mall.admin.enums;

/**
 * @program: d9lab-mall
 * @description: 各种状态
 * @author: Wayne
 * @create: 2020-04-20 15:17
 **/
public enum SysStatusEnum {
    AVAILABLE("正常",1),NOT_AVAILABLE("禁用",0);

    private final String desc;
    private final Integer code;

    SysStatusEnum(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public Integer getCode() {
        return code;
    }
}
